using System;
using System.Collections.Generic;
using System.Text;
using SoftwareMonkeys.LiveShift.Entities;

namespace SoftwareMonkeys.LiveShift.Business
{
	[Serializable]
    public abstract class BaseBehavior : IBehavior
    {
        private IShiftableEntity entity;
        public IShiftableEntity Entity
        {
            get { return entity; }
            set { entity = value; }
        }

        public BaseBehavior(IShiftableEntity entity)
        {
            this.entity = entity;
        }

        public abstract IShiftResult Shift(DateTime date);
    }
}
